﻿@namespace Bootstrap5
@inherits BootstrapComponentBase

<NavItem AdditionalCssClass="dropdown">
	<NavRouteLink role="button" AdditionalCssClass="dropdown-toggle" Trigger="Bootstrap5.Trigger.Toggle(Bootstrap5.ToggleName.DropDown)">
		@ToggleContent
	</NavRouteLink>
	<DropDownMenu>
		@DropDownMenuContent
	</DropDownMenu>
</NavItem>

@code {
	[Parameter] public RenderFragment ToggleContent { get; set; }
	[Parameter] public RenderFragment DropDownMenuContent { get; set; }
}